package com.wang.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.common.utils.PageUtils;
import com.wang.gulimall.product.entity.AttrGroupEntity;
import com.wang.gulimall.product.vo.AttrGroupResVo;
import com.wang.gulimall.product.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zifan
 * @email 2436341408@qq.com
 * @date 2020-12-09 14:58:44
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryBycateID(Map<String,Object> params,Long cateId);

    void deleteAttrRelation(List<AttrVo> vos);

    PageUtils getAttrNoRelation(Long attrgroupId, Map<String, Object> params);

    List<AttrGroupResVo> getAttrGropWitnAttrs(Long catelogId);
}

